
<!DOCTYPE HTML>
<html>
<head>
<script id="allmobilize" charset="utf-8" src="{{ URL::asset('/') }}homes/js/allmobilize.min.js"></script>
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="alternate" media="handheld"  />
<!-- end 云适配 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>登录-拉勾网-最专业的互联网招聘平台</title>
<meta property="qc:admins" content="23635710066417756375" />
<meta content="拉勾网是3W旗下的互联网领域垂直招聘网站,互联网职业机会尽在拉勾网" name="description">
<meta content="拉勾,拉勾网,拉勾招聘,拉钩, 拉钩网 ,互联网招聘,拉勾互联网招聘, 移动互联网招聘, 垂直互联网招聘, 微信招聘, 微博招聘, 拉勾官网, 拉勾百科,跳槽, 高薪职位, 互联网圈子, IT招聘, 职场招聘, 猎头招聘,O2O招聘, LBS招聘, 社交招聘, 校园招聘, 校招,社会招聘,社招" name="keywords">

<meta name="baidu-site-verification" content="QIQ6KC1oZ6" />

<!-- <div class="web_root"  style="display:none">h</div> -->
<script type="text/javascript">
var ctx = "h";
console.log(1);
</script>
<link rel="Shortcut Icon" href="h/images/favicon.ico">
<link rel="stylesheet" type="text/css" href="{{ URL::asset('/') }}homes/css/style.css"/>

<script src="{{ URL::asset('/') }}homes/js/jquery.1.10.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="{{ URL::asset('/') }}homes/js/jquery.lib.min.js"></script>
<script type="text/javascript" src="{{ URL::asset('/') }}homes/js/core.min.js"></script>
<script type="text/javascript" src="{{ URL::asset('/') }}homes/js/verificationNumbers.js"></script>
<script type="text/javascript" src="{{ URL::asset('/') }}homes/js/Particleground.js"></script>

<script type="text/javascript">
var youdao_conv_id = 271546; 
</script> 
<script type="text/javascript" src="{{ URL::asset('/') }}homes/js/conv.js"></script>\
<script type="text/javascript">
$(document).ready(function() {
  //验证码
  createCode();

  //测试提交，对接程序删除即可
  $(".submit_btn").click(function(){
    var ok=validate();
	//alert(ok);die;
    //判断验证码
    if(ok==true)
	{
      var url="login";
      var email=$('#email').val();
  	  var password=$('#password').val();
      var data={'email':email,'password':password};
      $.get(url,data,function(msg)
	  {
        if(msg==1)
		{
		  //alert("登陆成功");
          window.location.href="{{ URL('index') }}";
        }else if(msg==2)
		{
           alert("密码错误");
		   window.location.href='login';
		}else
		{
           alert("邮箱不存在");
		   window.location.href='login';
		}
      })
    }else
	{
       window.location.href='login';
	}
	});
});
</script>
</head>

<body id="login_bg">
	<div class="login_wrapper">
		<div class="login_header">
        	<a href="index"><img src="{{ URL::asset('/') }}homes/images/logo_white.png" width="285" height="62" alt="拉勾招聘" /></a>
            <div id="cloud_s"><img src="{{ URL::asset('/') }}homes/images/cloud_s.png" width="81" height="52" alt="cloud" /></div>
            <div id="cloud_m"><img src="{{ URL::asset('/') }}homes/images/cloud_m.png" width="136" height="95"  alt="cloud" /></div>
        </div>
        
    	<input type="hidden" id="resubmitToken" value="" />		
		 <div class="login_box">
        	<form id="loginForm" >
				<input type="text" id="email" name="email" value="" tabindex="1" placeholder="请输入登录邮箱地址" />
			  	<input type="password" id="password" name="password" tabindex="2" placeholder="请输入密码" />
				<span class="error" style="display:none;" id="beError"></span>
				<input type="text" id="J_codetext" name="J_codetext" placeholder="请输入验证码" tabindex="2"  class="login_txtbx">
                <div><canvas class="J_codeimg" id="myCanvas" style="width:250px;height:70px;background-color:#66ffcc" onclick="createCode()">对不起，您的浏览器不支持canvas，请下载最新版浏览器!</canvas><input type="button" value="不是机器人" class="ver_btn" ></div>
				<p></p>
			    <label class="fl" for="remember"><input type="checkbox" id="remember" value="" checked="checked" name="autoLogin" /> 记住我</label>
			    <a href="reset.html" class="fr" target="_blank">忘记密码？</a>
			    
				<!--<input type="submit" id="submitLogin" value="登 &nbsp; &nbsp; 录" method="get" action="{{ URL('login') }}"/>-->
				<input type="button" class="submit_btn" id="submitLogin" value="登 &nbsp; &nbsp; 陆" />


			    
			    <input type="hidden" id="callback" name="callback" value=""/>
                <input type="hidden" id="authType" name="authType" value=""/>
                <input type="hidden" id="signature" name="signature" value=""/>
                <input type="hidden" id="timestamp" name="timestamp" value=""/>
			</form>
			<div class="login_right">
				<div>还没有牙行帐号？</div>
				<a  href="{{URL('register')}}"  class="registor_now">立即注册</a>
			    <div class="login_others">使用以下帐号直接登录:</div>
			    <a  href="javascript: void(0)"   class="icon_wb" title="完善中"></a>
			    <a  href="javascript: void(0)"  class="icon_qq"  title="完善中"></a>
			</div>
        </div>
        <div class="login_box_btm"></div>
    </div>

<script type="text/javascript">
$(function(){
	//验证表单
	 	$("#loginForm").validate({
	 		/* onkeyup: false,
	    	focusCleanup:true, */
	        rules: {
	    	   	email: {
	    	    	required: true,
	    	    	email: true
	    	   	},
	    	   	password: {
	    	    	required: true,
					rangelength: [6,16]
	    	   	}
	    	},
	    	messages: {
	    	   	email: {
	    	    	required: "请输入登录邮箱地址",
	    	    	email: "请输入有效的邮箱地址，如：vivi@lagou.com"
	    	   	},
	    	   	password: {
	    	    	required: "请输入密码",
					rangelength: "请输入6-16位密码，字母区分大小写"
	    	   	}
	    	},
	    	
		});
})
</script>
</body>
</html>